$(document).ready(function() {
	$('#element li').click(function() {
		var a = ['270px', '370px', '490px', '612px', '732px', '860px'];
		var b = ["/youcai/home.jsp","/youcai/myplans.jsp","/youcai/platform.jsp", "/youcai/virtualbox.jsp","http://172.22.192.92:80/upload/forum.php","/youcai/about.jsp"];
		
		$('li').removeClass('liClick');
		$(this).addClass('liClick');
		var block = $('#moveBlk');
		var str = $(this).attr('id');
		var i = parseInt(str[3]);
		block.animate({marginLeft: a[i]});
		
		window.location.href= b[i];
	});
});